def common_assert(resp,status_code,success,code,message):
    assert resp.status_code == status_code
    assert resp.json().get("success") is success
    assert resp.json().get("code") == code
    assert resp.json().get("message") == message